#version 430

in vec3 Normal0;

out vec4 FragColor;

uniform vec3 gColor;

void main()
{
	if (gl_FrontFacing)
		FragColor = vec4(gColor, 0);//set front faces' color as gColor
	else
		FragColor = vec4(0,0,1,0);//set back faces' color as blue
}